Configuring BACnet/SC Communication

As a part of configuring a BACnet channel, you can configure the settings that enable the BACnet Secure Connect communication on the network. Learn more about BACnet/SC networks.

To configure the BACnet/SC communication in the channel settings:

  1. Open Workbench and in the Project Explorer pane, expand your project > Data Connectivity > BACnet > Channels.
  2. On the BACnet/SC tab in General Settings, select Enabled.
  3. Specify the Network Number for the BACnet/SC network associated with this channel.

    When using BACnet/IP and BACnet/SC simultaneously, the network numbers for each must be different, and neither can be set to 0.

  4. In the Certificates section, click Certificates button next to each field to add the certificates of the BACnet device that represents the channel.

    If you do not find any certificates, you need to create and save them. Learn how

  5. In the Hub Function Settings and the Direct Connect Settings, set at least one of the following ways of communication.

    • Use an external hub.

      1. In Primary Hub URI, enter the ClosedUniform Resource Identifier (URI). It is an address where the secured WebSocket endpoint is waiting for connections. It should be a UTF-8 string containing a WebSocket URI as of RFC 6455, formatted as of RFC 3986.
        Example: wss://1.2.3.4:47900

      2. If available, enter the Failover Hub URI for redundancy.

    •  Set this device as a BACnet hub.

      1. In the Hub Function Settings, select Enable Hub Function.

      2. If needed, change the default TCP port.

      3. Click next to the Accept URIs field to create an array of WebSocket URIs that other devices can use to connect to the hub function.

    • Use a direct connection between devices. It is typically used to enable faster communication with selected devices.

      1. In Direct Connect Settings, select Enable Initiate to allow this device (representing the channel) to initiate direct communication with other devices.
      2. Click next to the Initiate URIs field to create an array of WebSocket URIs that can be used for direct connection to other devices.
      3. Select Enable Accept to allow other devices to directly connect to this device.
      4. Click next to the Accept URIs field to create an array of WebSocket URIs that other devices can use to directly connect to this device.

  6. In the Communication Settings section, customize the connection properties as needed, and then click Apply. Refer to the table for the parameter descriptions and available ranges of values.

    Communication Parameter

    Description

    Range in seconds

    Minimum Reconnect Time

    The minimum time between each attempt to establish a BACnet/SC connection.

    2 - 300

    Maximum Reconnect Time

    The maximum time between each attempt to establish a BACnet/SC connection.

    2 - 600

    Connection Wait Timeout

    Disconnection Wait Timeout

    The time to wait for a response from the remote device during the connecting or disconnecting process.

    5 - 300

    Heartbeat Timeout

    The time of inactivity on the BACnet/SC connection before a Heartbeat-Request message is sent.

    3 - 300